package com.feng.usercenter.service;

import com.feng.usercenter.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author 34689
* @description 针对表【user(用户)】的数据库操作Service
* @createDate 2025-06-18 20:58:35
*/
public interface UserService extends IService<User> {

    User userLogin(String userAccount, String userPassword, HttpServletRequest request);

    long userRegister(String userAccount, String userPassword, String checkPassword, String planetCode);

    List<User> searchUsers(String username);

    User getSafetyUser(User originalUser);

    int userLogout(HttpServletRequest request);
}
